{% extends "base.html" %}
{% load static %}

<div class="col-lg">
    <div class="card">
        <div class="card-body">

            <ul>
                {% for user in user_list %}
                    <li>{{ user }} - <a class="btn btn-primary" href="{% url 'user_delete' user.pk %}">删除</a>-<a
                            class="btn btn-primary" href="{% url 'user_up' user.pk %}">修改</a></li>
                {% empty %}
                    <li>No articles yet.</li>
                {% endfor %}
            </ul>
        </div>
    </div>
</div>